package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("tb_user_balance")
public class UserBalanceEntity implements Serializable {
    @TableId
    private Long id;
    private Long userId;
    private BigDecimal amount;
    @Version
    private  Integer version;

}
